package zetcode.basicGraphics;

import javax.swing.JFrame;

@SuppressWarnings("serial")
public class GraphicsFrame extends JFrame {

	public GraphicsFrame(){
		//add(new DonutPanel());
		add(new ImagePanel());
		
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setSize(500, 320);
		setLocationRelativeTo(null);
		setTitle("Basic Graphics");
		setVisible(true);
	}
	
	public static void main(String[] args) {
		new GraphicsFrame();
	}

}
